﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Timthoy.Ding
 *      Date:           2013/7/28 0:46:22
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using Sector7.Framework.Core;
using Sector7.Framework.Enums;

namespace Sector7.Medical.EntityType
{
    /// <summary>
    /// <!-- The description about this class. -->
    /// </summary>
    [Serializable()]
    [DataContract]
    public class M7_RegistryFee : EntityBase
    {
        #region Accessor
        /// <summary>
        /// 获取和设置挂号费信息编号
        /// </summary>
        [DataMember]
        [DBField(DBFieldType.PrimaryKey | DBFieldType.AutoIncrement)]
        public int FeeId { get; set; }

        /// <summary>
        /// 获取和设置一级科室
        /// </summary>
        [DataMember]
        [DBField]
        public int DeptId { get; set; }

        /// <summary>
        /// 获取和设置门诊类型
        /// </summary>
        [DataMember]
        [DBField]
        public int OutpatientType { get; set; }

        /// <summary>
        /// 获取和设置挂号类型
        /// </summary>
        [DataMember]
        [DBField]
        public int RegistryType { get; set; }

        /// <summary>
        /// 获取和设置挂号费
        /// </summary>
        [DataMember]
        [DBField]
        public decimal RegistryFee { get; set; }

        /// <summary>
        /// 获取和设置门诊费
        /// </summary>
        [DataMember]
        [DBField]
        public decimal DiagnosticFee { get; set; }

        /// <summary>
        /// 获取和设置备注信息
        /// </summary>
        [DataMember]
        [DBField]
        public string Remarks { get; set; }

        /// <summary>
        /// 获取和设置是否有效
        /// </summary>
        [DataMember]
        [DBField]
        public bool IsValid { get; set; }

        /// <summary>
        /// 获取和设置科室ID
        /// </summary>
        [DataMember]
        public M7_Department Dept { get; set; }

        /// <summary>
        /// 获取和设置门诊类型对象
        /// </summary>
        [DataMember]
        public M7_OutpatientType OutpatientTypeObject { get; set; }

        /// <summary>
        /// 获取和设置挂号类型对象
        /// </summary>
        [DataMember]
        public M7_RegistryType RegistryTypeObject { get; set; }
        #endregion
    }
}
